.class Les/ru$b;
.super Ljava/lang/Object;
.source "Cataloger.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Les/ru;->b(Ljava/lang/String;Ljava/lang/String;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Ljava/lang/String;

.field final synthetic b:Ljava/lang/String;

.field final synthetic c:Les/ru;


# direct methods
.method constructor <init>(Les/ru;Ljava/lang/String;Ljava/lang/String;)V
    .locals 0

    .line 1
    iput-object p1, p0, Les/ru$b;->c:Les/ru;

    iput-object p2, p0, Les/ru$b;->a:Ljava/lang/String;

    iput-object p3, p0, Les/ru$b;->b:Ljava/lang/String;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 5

    .line 1
    iget-object v0, p0, Les/ru$b;->c:Les/ru;

    invoke-static {v0}, Les/ru;->g(Les/ru;)Z

    move-result v0

    if-nez v0, :cond_0

    .line 2
    iget-object v0, p0, Les/ru$b;->c:Les/ru;

    invoke-virtual {v0}, Les/ru;->c()V

    .line 3
    :cond_0
    invoke-static {}, Les/jv;->d()Les/jv;

    move-result-object v0

    invoke-virtual {v0}, Les/jv;->b()V

    .line 4
    invoke-static {}, Les/vu;->b()Ljava/util/List;

    move-result-object v0

    .line 5
    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :cond_1
    :goto_0
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_4

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    .line 6
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    .line 7
    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 8
    iget-object v1, p0, Les/ru$b;->a:Ljava/lang/String;

    const-string v3, "/"

    invoke-virtual {v1, v3}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_2

    .line 9
    invoke-virtual {v2}, Ljava/lang/StringBuilder;->length()I

    move-result v1

    add-int/lit8 v1, v1, -0x1

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->deleteCharAt(I)Ljava/lang/StringBuilder;

    .line 10
    :cond_2
    iget-object v1, p0, Les/ru$b;->a:Ljava/lang/String;

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const/16 v1, 0x2f

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;

    .line 11
    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    .line 12
    new-instance v2, Ljava/io/File;

    invoke-direct {v2, v1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 13
    invoke-virtual {v2}, Ljava/io/File;->exists()Z

    move-result v3

    if-eqz v3, :cond_1

    invoke-virtual {v2}, Ljava/io/File;->isDirectory()Z

    move-result v2

    if-nez v2, :cond_3

    goto :goto_0

    .line 14
    :cond_3
    new-instance v2, Les/bv;

    const/16 v3, 0x10

    iget-object v4, p0, Les/ru$b;->b:Ljava/lang/String;

    invoke-direct {v2, v3, v1, v4}, Les/bv;-><init>(ILjava/lang/String;Ljava/lang/String;)V

    .line 15
    iget-object v1, p0, Les/ru$b;->c:Les/ru;

    invoke-static {v1, v2}, Les/ru;->a(Les/ru;Les/bv;)V

    goto :goto_0

    :cond_4
    return-void
.end method
